package com.herch.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.herch.common.annotation.Excel;
import com.herch.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 荧光模拟量温度监控数据对象 hq_monitor_data
 * 
 * @author ruoyi
 * @date 2023-12-25
 */
public class HqMonitorData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String equipmentId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String equipmentSize;

    /** 通道数 */
    @Excel(name = "通道数")
    private Integer numOfCh;

    /** 设备地址 */
    @Excel(name = "设备地址")
    private String equipmentAddr;

    /** 通道号 */
    @Excel(name = "通道号")
    private String channelNum;

    /** 通道号 */
    @Excel(name = "温度状态")
    private Integer temState;
    /** 通道号 */
    @Excel(name = "状态名称")
    private String stateName;

    /** 通道温度 */
    @Excel(name = "通道温度")
    private String temperature;

    /** PD */
    @Excel(name = "PD")
    private String pd;

    /** UV */
    @Excel(name = "UV")
    private String uv;

    /** 电流/电压 */
    @Excel(name = "电流/电压")
    private String analog;

    /** 模拟温度 */
    @Excel(name = "模拟温度")
    private String simulationTemperature;

    /** 温度误差 */
    @Excel(name = "温度误差")
    private String temperatureError;

    /** 温度误差 */
    @Excel(name = "误差结果")
    private String errorResult;

    /** 采集时间 */
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String collectTime;

    private String tableName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEquipmentId(String equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setNumOfCh(Integer numOfCh) 
    {
        this.numOfCh = numOfCh;
    }

    public String getEquipmentSize() {
        return equipmentSize;
    }

    public void setEquipmentSize(String equipmentSize) {
        this.equipmentSize = equipmentSize;
    }

    public Integer getNumOfCh()
    {
        return numOfCh;
    }
    public void setEquipmentAddr(String equipmentAddr) 
    {
        this.equipmentAddr = equipmentAddr;
    }

    public String getEquipmentAddr() 
    {
        return equipmentAddr;
    }
    public void setChannelNum(String channelNum) 
    {
        this.channelNum = channelNum;
    }

    public String getChannelNum() 
    {
        return channelNum;
    }

    public Integer getTemState() {
        return temState;
    }

    public void setTemState(Integer temState) {
        this.temState = temState;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public void setTemperature(String temperature)
    {
        this.temperature = temperature;
    }

    public String getTemperature()
    {
        return temperature;
    }

    public String getPd() {
        return pd;
    }

    public void setPd(String pd) {
        this.pd = pd;
    }

    public String getUv() {
        return uv;
    }

    public void setUv(String uv) {
        this.uv = uv;
    }

    public String getAnalog() {
        return analog;
    }

    public void setAnalog(String analog) {
        this.analog = analog;
    }

    public void setSimulationTemperature(String simulationTemperature)
    {
        this.simulationTemperature = simulationTemperature;
    }

    public String getSimulationTemperature() 
    {
        return simulationTemperature;
    }
    public void setTemperatureError(String temperatureError) 
    {
        this.temperatureError = temperatureError;
    }

    public String getTemperatureError() 
    {
        return temperatureError;
    }

    public String getErrorResult() {
        return errorResult;
    }

    public void setErrorResult(String errorResult) {
        this.errorResult = errorResult;
    }

    public void setCollectTime(String collectTime)
    {
        this.collectTime = collectTime;
    }

    public String getCollectTime()
    {
        return collectTime;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentId", getEquipmentId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentSize", getEquipmentSize())
            .append("numOfCh", getNumOfCh())
            .append("equipmentAddr", getEquipmentAddr())
            .append("temState", getTemState())
            .append("stateName", getStateName())
            .append("channelNum", getChannelNum())
            .append("temperature", getTemperature())
            .append("pd", getPd())
            .append("uv", getUv())
            .append("analog", getAnalog())
            .append("simulationTemperature", getSimulationTemperature())
            .append("temperatureError", getTemperatureError())
            .append("errorResult", getErrorResult())
            .append("collectTime", getCollectTime())
            .toString();
    }
}
